package com.itheima.day03.demo03;

public class Test {
    public static void main(String[] args) {
        Bear bear = new Bear();
        bear.setName("白色四条腿的北极熊");
        bear.eat();
        bear.play();
        System.out.println("--------------");
        Panda panda = new Panda();
        panda.setName("黑色四条腿的熊猫");
        panda.eat();
        panda.play();
    }
}
